home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Magazin: Amiga-CD 1997 May & June
/
Amiga-CD 1997 #5-6.iso
/
patches
/
finalwrapper3_13
/
fwbugreport.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1997-02-15
|
6KB
|
83 lines
/* $VER: FinalWrapperBug.rexx 1.1 (15.02.97) by NDY's */
/* File where the bug report is written to */
bugfile="RAM:FinalWrapperBug.Txt"
OPTIONS RESULTS
ARG version errortxt
IF ~Open(bug,bugfile,"W") THEN EXIT 10
CALL WriteLn(bug," ********************************************************************************")
CALL WriteCh(bug," * FinalWrapper version ")
CALL WriteCh(bug,version)
CALL WriteLn(bug," - Bug Report *")
CALL WriteLn(bug," * *")
CALL WriteLn(bug," * Name and address: _________________________________________________________ *")
CALL WriteLn(bug," * *")
CALL WriteLn(bug," * ____________________________________________________________________________ *")
CALL WriteLn(bug," * *")
CALL WriteLn(bug," * ____________________________________________ Country: _____________________ *")
CALL WriteLn(bug," * *")
CALL WriteLn(bug," * Fax: ____________________ e-Mail: _________________________________________ *")
CALL WriteLn(bug," * *")
CALL WriteLn(bug," ********************************************************************************")
CALL WriteLn(bug," * *")
CALL WriteLn(bug," * The following error message was generated: *")
DO WHILE Length(errortxt)>0
CALL WriteLn(bug," *" Left(errortxt||Copies(" ",76),76) "*")
errortxt=Substr(errortxt,77)
END
CALL WriteLn(bug," * *")
CALL WriteLn(bug," * Which version of Final Writer are you using? (See screen title bar): _______ *")
CALL WriteLn(bug," * *")
CALL WriteLn(bug," * What did you do before the error occurred? (Selected objects, text etc.) *")
CALL WriteLn(bug," * *")
CALL WriteLn(bug," * ____________________________________________________________________________ *")
CALL WriteLn(bug," * *")
CALL WriteLn(bug," * ____________________________________________________________________________ *")
CALL WriteLn(bug," * *")
CALL WriteLn(bug," * ____________________________________________________________________________ *")
CALL WriteLn(bug," * *")
CALL WriteLn(bug," * Other things that could be of importance: *")
CALL WriteLn(bug," * *")
CALL WriteLn(bug," * ____________________________________________________________________________ *")
CALL WriteLn(bug," * *")
CALL WriteLn(bug," * ____________________________________________________________________________ *")
CALL WriteLn(bug," * *")
CALL WriteLn(bug," * ____________________________________________________________________________ *")
CALL WriteLn(bug," * *")
CALL WriteLn(bug," * Software (tools etc.) running while the error occurred: ____________________ *")
CALL WriteLn(bug," * *")
CALL WriteLn(bug," * ____________________________________________________________________________ *")
CALL WriteLn(bug," * *")
CALL WriteLn(bug," * ____________________________________________________________________________ *")
CALL WriteLn(bug," * *")
CALL WriteLn(bug," ********************************************************************************")
CALL WriteLn(bug," * *")
CALL WriteLn(bug," * Send the sheet to: Andreas Weiss, Dorfstrasse 24, CH-8212 Nohl (Switzerland) *")
CALL WriteLn(bug," * *")
CALL WriteLn(bug," * Or e-mail it to: ndys@ezinfo.vmsmail.ethz.ch *")
CALL WriteLn(bug," * *")
CALL WriteLn(bug," ********************************************************************************")
CALL WriteLn(bug," ")
CALL WriteLn(bug," * Information on your system and the installed FinalWrapper: *")
CALL Close(bug)
ADDRESS COMMAND "List ENVARC:FinalWrapper >>"||bugfile
ADDRESS COMMAND "Type ENVARC:FinalWrapper/FWPath >>"||bugfile
ADDRESS COMMAND "Type ENV:FinalWrapper/FinalWrapper.def >>"||bugfile "opt h"
ADDRESS COMMAND "Version >>"||bugfile
ADDRESS COMMAND "Cpu Check FPU >>"||bugfile
ADDRESS COMMAND "Avail >>"||bugfile
ADDRESS COMMAND "Info >>"||bugfile
rxport=ADDRESS()
IF ~Left(rxport,7)="FINALW." THEN
DO
DO i=1 TO 20 UNTIL portok
rxport="FINALW."||i
portok=Show("p",rxport)
END
IF portok THEN ADDRESS VALUE rxport
ELSE
portok=1
IF portok THEN ShowMessage 1 0 "Bug report saved in file" bugfile "Print bug report?" "Print" "Abort" ""
EXIT